package org.ricks.tcp.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Class Name: IRMINotifyLogin.java<br>
 * Description: <br>
 * <p>
 * DateTime: 2022-12-29 21:24:01<br>
 * @author zhangzhongxing<br>
 * <br>
 */
public interface IRMINotifyLogin extends Remote {

    /**
     * 登录服务器通知GAMESERVER玩家可合法登录
     *
     * @param userId
     * @param playerId
     * @param nickname
     * @param gender
     * @param isInWhiteList 是否在白名单中
     * @return
     * @throws RemoteException
     */
    public void notifyLoginParams(String token, long userId, long playerId,
                                  String nickname, int gender, boolean isInWhiteList) throws RemoteException;
}
